package com.nineclock.approve.dto;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApproveDefinitionTableDataResultDto {
    //字段主键
    private String fieldKey;
    //组件名称
    private String lab;
    //组件类型
    private String type;
    //组件图标
    private String icon;
    //标题
    private String title;
    //组件数据设置
    @JsonDeserialize (using = DataDeserializer.class)
    private Map<String,Object> data;
    //是否源于模板
    private String fromTemplate = "0";
}